package com.etone.smartAudit.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.etone.smartAudit.domain.AuditRisk;
import com.etone.smartAudit.vo.auditRisk.AuditRiskHistoryListVO;
import com.etone.smartAudit.vo.auditRisk.AuditRiskListVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * @author: 蒋学伟
 * @create: 2020-06-17 18:32:27
 * @Description AuditRiskRepository
 */
@Mapper
public interface AuditRiskMapper extends BaseMapper<AuditRisk> {
    List<AuditRiskListVO> findList(@Param("key") String key, @Param("level1") String level1, @Param("level2") String level2, @Param("startUpdateTime") Date startUpdateTime, @Param("endUpdateTime") Date endUpdateTime);

    List<AuditRiskHistoryListVO> findAuditRiskHistoryList(@Param("auditRiskId") Integer auditRiskId);
}
